{layout name="admin/layout/layout" /}
<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item" style="display:none">
            <label class="layui-form-label">群ID</label>
            <div class="layui-input-block">
                <input type="text" name="id" class="layui-input" lay-verify="required" placeholder="请输入群ID" value="{$row.id|default=''}">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label">类别</label>

            <div class="layui-input-block">
                <input type="text" name="type" class="layui-input" lay-verify="required" placeholder="请输入性别 (1:模糊, 2:替换, 3:撤回)" value="{$row.type|default=''}">
            </div>
            
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">关键字</label>
            <div class="layui-input-block">
                <input type="text" name="gjz" class="layui-input" lay-verify="required" placeholder="请输入关键字" value="{$row.gjz|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">回答</label>
            <div class="layui-input-block">
                <input type="text" name="value" class="layui-input"  placeholder="请输入回答" value="{$row.value|default=''}">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>
        
        <div class="layui-form-item">
            <a style="font-size: 0.1rem;color: #e97878;left: 10%;position: relative;">
                类别:可输入1-3<br>
                1:模糊回复关键字<br>
                2:模糊替换关键字(比如 爱梦替换成月光,和QQ群号替换)<br>
                3:模糊删除关键字(包括你设置的关键字就会发不出来,慎用)
            </a>
        </div>

    </form>
</div>
